package com.cn.service.server.ComponentMechanical;

import com.cn.bean.pojo.ComponentMechanical.AbnormalApplicationMainTable;
import com.cn.bean.pojo.ComponentMechanical.AbnormalApplicationSubTable;
import com.cn.bean.pojo.lbj.ComponentSingleRegistrationTable;
import com.cn.bean.pojo.lbj.SingleParameterItemCurrentDataTable;

import java.util.List;

public interface AbnormalApplicationService {
    List<AbnormalApplicationMainTable> selectAbnormalApplicationMain(AbnormalApplicationMainTable abnormalApplicationMainTable);
    List<ComponentSingleRegistrationTable>selectAbnormalComponent(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    List<AbnormalApplicationSubTable>selectAbnormalApplicationSubTable(int id);
    List<AbnormalApplicationSubTable>selectAbnormalSubTable(AbnormalApplicationSubTable abnormalApplicationSubTable);
    Integer getAbnormalApplicationMainAutoid();
    Integer getAbnormalApplicationSubAutoid();
    List<SingleParameterItemCurrentDataTable> selectCurrentData(SingleParameterItemCurrentDataTable singleParameterItemCurrentDataTable);
    int insertAbnormalApplicationMain(AbnormalApplicationMainTable abnormalApplicationMainTable);
    int insertAbnormalApplicationSub(AbnormalApplicationSubTable abnormalApplicationSubTable);
    int updateAbnormal(String uniqueCode);
    int lockAbnormal(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    int updateAbnormalData(AbnormalApplicationMainTable abnormalApplicationMainTable);
    int delAbnormalSub(int id);
    int updateAbnormalAudit(int id);
    int updateAbnormalStatus(ComponentSingleRegistrationTable componentSingleRegistrationTable);
}
